package com.applet.system.utils;


import com.applet.system.entity.UserContext;

public class UserContextUtil {

	private UserContextUtil(){}
	
	private static ThreadLocal<UserContext> locals = new ThreadLocal<>();
	
	public static void set(UserContext context){
		locals.set(context);
	}
	
	public static UserContext get(){
		return locals.get();
	}
}
